
import Vue from 'vue'
import VueResource from 'vue-resource';
Vue.use(VueResource);

export default {
  /**
   * [照护等级配置]-[新增照护等级]
   */
  saveCareLevel(val) {
    return Vue.http.post("/serviceCareLevel/m/level", val);
  },

  /**
   * [照护等级配置]-[照护等级列表显示]
   */
  listCareLevel() {
    return Vue.http.get("/serviceCareLevel/m/level/list");
  },

  /**
   * [照护等级配置]-[删除照护等级]
   */
  removeCareLevel(val) {
    return Vue.http.post("/serviceCareLevel/m/level/"+val);
  },

  /**
   * [照护等级配置]-[编辑照护等级]
   */
  updateCareLevel(val) {
    return Vue.http.post("/serviceCareLevel/m/levelUpdate", val);
  },

}
